<?php
// sin errores
error_reporting(0);

function conectar () {
$db_con = mysql_pconnect (DB_SERVER,DB_USER,DB_PASS);
if (!$db_con) return false;
if (!mysql_select_db (DB_NAME, $db_con)) return false;
return $db_con;
}

?>